Id()); $SafeFieldId = !is_null($H_Field) ? defaulthtmlentities($H_Field->Id()) : ""; $SafeErrorMessage = defaulthtmlentities($H_ErrorMessage); $SafeControlledName = defaulthtmlentities($H_ControlledName); $SafeVariantName = defaulthtmlentities($H_VariantName); $SchemaOptions = []; foreach (MetadataSchema::GetAllSchemas() as $Schema) { $SchemaOptions[$Schema->Id()] = $Schema->Name() . " Schema"; } $SchemaOptionList = new HtmlOptionList("SC", $SchemaOptions, $H_Schema->Id()); $SchemaOptionList->SubmitOnChange(true); if (!is_null($H_Field)) { $FieldList = $H_Schema->getFieldsAsOptionListObject( "F_FieldId", MetadataSchema::MDFTYPE_CONTROLLEDNAME, $H_Field->Id(), false ); $FieldList->SubmitOnChange(true); $FieldList->PrintIfEmpty(false); $H_FormUI->addHiddenField("F_FieldId", $H_Field->Id()); } ?>

# Controlled Name Added

The following controlled name has been added:

,

Add Another Controlled Name

Edit Controlled Names

# Add Controlled Name

PrintHtml(); ?>

Field: | PrintHtml(); ?>

DisplayFormTable(); ?>

No controlled name fields exist. Use the metadata field editor to add controlled name fields.